package com.bob.web.service;

import com.bob.web.common.constant.SystemHoldContext;
import com.bob.web.entity.system.Admin;

/**
 * Created by admin on 2017/7/21.
 */
public class BaseService {
    protected Admin getCurrentUser() {
        return SystemHoldContext.getCurrentUser();
    }

    protected void setCurrentUser(Admin user) {
        SystemHoldContext.setCurrentUser(user);
    }
}
